package com.zhixianggou.caibaobox.user.cover;

import com.zhixianggou.caibaobox.user.dto.UserCenterDto;
import com.zhixianggou.caibaobox.user.entities.User;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zyq
 * 9/1/24 2:10 PM
 */
@Mapper
public interface UserCover {

    UserCover INSTANCE = Mappers.getMapper(UserCover.class);

    UserCenterDto toCenterDto(User user);
}
